<template>
  <div class="resume-detail-training info-group">
    <div class="info-group-title">实训经历</div>
    <div class="info-group-content">
      <div class="training-row" v-for="(item, index) in data" :key="index">
        <div class="training-item">{{ item.startDate }}-{{ item.endDate }}</div>
        <div class="training-item">实习项目：{{ item.projectName }}</div>
        <div class="training-item">专业标签：{{ item.tags }}</div>
        <div class="training-item">实训时长：{{ item.time }}</div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'ResumeDetailTraining',
  props: {
    data: {
      type: Array,
      default: () => []
    }
  }
}
</script>

<style lang="scss" scoped>
@import 'styles/common.scss';
.resume-detail-training {
  .training-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.3rem;
    .training-item {
      flex: 1;
    }
  }
}
</style>
